package com.hys.demo.entity;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.hys.demo.entity.TestObj;
 
@XmlRootElement(name = "peoples")
@XmlAccessorType(XmlAccessType.FIELD)
public class ObjList {
 
    @XmlAttribute(name = "size")
    private int size;
    
    @XmlElement(name = "people")
    private ArrayList<TestObj> objList; 
 
    public int getSize() {
        return size;
    }
 
    public void setSize(int size) {
        this.size = size;
    }
 
 public ArrayList<TestObj> getObjList() {
  return objList;
 }
 
 public void setObjList(ArrayList<TestObj> objList) {
  this.objList = objList;
 }
 
}
